<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="恢复HDFS文件集">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="zh-cn_topic_0000001839276377.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
<meta name="DC.Publisher" content="20240320">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="ZH-CN_TOPIC_0000001792397296">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>恢复HDFS文件集</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="ZH-CN_TOPIC_0000001792397296"></a><a name="ZH-CN_TOPIC_0000001792397296"></a>

<h1 class="topictitle1">恢复HDFS文件集</h1>
<div><p>当需要对已备份的HDFS文件集进行恢复时，可以参考本节恢复文件集至原位置或新位置。</p>
<div class="section"><h4 class="sectiontitle">背景信息</h4><p>支持使用备份副本、复制副本、归档副本、导入的副本进行恢复。支持恢复至原位置（复制副本不支持恢复至原位置，复制副本再归档后不支持恢复至原位置）或新位置。</p>
</div>
<div class="section" id="ZH-CN_TOPIC_0000001792397296__section5561113335717"><h4 class="sectiontitle">前提条件</h4><ul id="ZH-CN_TOPIC_0000001792397296__ul29502613113"><li id="ZH-CN_TOPIC_0000001792397296__li795172610111">如果您需要恢复HDFS文件的ACL信息，则恢复前请确认大数据平台已开启HDFS ACL配置开关。具体检查方法可参考<a href="zh-cn_topic_0000001792397340.html">步骤2：检查HDFS ACL的开关状态</a>。</li><li id="ZH-CN_TOPIC_0000001792397296__li562133216110">如果您需要恢复HDFS文件的ACL信息，那么恢复过程中使用的用户必须具备HDFS超级用户权限。该用户为<a href="zh-cn_topic_0000001792557040.html">步骤3：注册HDFS集群</a>中配置的用户。</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">操作步骤</h4><ol><li><span>选择<span class="uicontrol" id="ZH-CN_TOPIC_0000001792397296__zh-cn_topic_0000001839196397_zh-cn_topic_0000001839142377_uicontrol317519513496">“<span id="ZH-CN_TOPIC_0000001792397296__zh-cn_topic_0000001839196397_zh-cn_topic_0000001839142377_text16175459497">数据利用</span> &gt; <span id="ZH-CN_TOPIC_0000001792397296__zh-cn_topic_0000001839196397_zh-cn_topic_0000001839142377_text1017555104914">副本数据</span> &gt; <span id="ZH-CN_TOPIC_0000001792397296__zh-cn_topic_0000001839196397_zh-cn_topic_0000001839142377_text1483910189532">大数据</span> &gt; HDFS”</span>。</span></li><li><span>您可以以HDFS文件集资源维度或以副本维度查找副本，本节以资源维度为例进行说明。</span><p><p>在“资源”页签，根据文件集名称查找到需要恢复的文件集，并单击文件集名称。</p>
</p></li><li><span>在<span class="uicontrol">“<span>副本数据</span>”</span>页签，依次选择年、月、天找到副本。</span><p><p>当时间上显示<span><img src="zh-cn_image_0000001839196465.png"></span>，即表示该月、该天存在副本。</p>
</p></li><li><span>在副本所在行，单击<span class="uicontrol">“<span>更多</span> &gt; <span>恢复</span>”</span>。</span><p><p>相关参数说明如<a href="#ZH-CN_TOPIC_0000001792397296__table93951625101715">表1</a>所示。</p>

<div class="tablenoborder"><a name="ZH-CN_TOPIC_0000001792397296__table93951625101715"></a><a name="table93951625101715"></a><table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001792397296__table93951625101715" frame="border" border="1" rules="all"><caption><b>表1 </b>恢复文件集参数说明</caption><colgroup><col style="width:23.09%"><col style="width:76.91%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="23.09%" id="mcps1.3.4.2.4.2.2.2.3.1.1"><p>参数</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="76.91%" id="mcps1.3.4.2.4.2.2.2.3.1.2"><p>说明</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="23.09%" headers="mcps1.3.4.2.4.2.2.2.3.1.1 "><p><span>恢复至</span></p>
</td>
<td class="cellrowborder" valign="top" width="76.91%" headers="mcps1.3.4.2.4.2.2.2.3.1.2 "><p>文件集的恢复位置。</p>
<ul><li><span>原位置</span>：恢复至原HDFS集群的原位置。</li><li><span>新位置</span>：恢复至新位置，需要指定恢复的目标HDFS集群及路径。</li></ul>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="23.09%" headers="mcps1.3.4.2.4.2.2.2.3.1.1 "><p><span>目标集群</span></p>
</td>
<td class="cellrowborder" valign="top" width="76.91%" headers="mcps1.3.4.2.4.2.2.2.3.1.2 "><p>当恢复至新位置时，需要指定恢复到的目标HDFS集群，可以是原集群也可以是已添加至管理界面的其他集群。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="23.09%" headers="mcps1.3.4.2.4.2.2.2.3.1.1 "><p><span>路径</span></p>
</td>
<td class="cellrowborder" valign="top" width="76.91%" headers="mcps1.3.4.2.4.2.2.2.3.1.2 "><p>当恢复至新位置时，需要指定文件集的恢复路径。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" width="23.09%" headers="mcps1.3.4.2.4.2.2.2.3.1.1 "><p><span>请选择</span></p>
</td>
<td class="cellrowborder" valign="top" width="76.91%" headers="mcps1.3.4.2.4.2.2.2.3.1.2 "><p>当恢复路径中存在同名文件时，选择替换或跳过已存在的文件。</p>
<ul><li><span>忽略已存在的文件</span>，即跳过这些同名文件不替换。</li><li><span>直接替换已经存在的文件</span></li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</p></li><li><span>单击<span class="uicontrol">“确定”</span>。</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="zh-cn_topic_0000001839276377.html">恢复</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>